<?php

use Illuminate\Database\Seeder;

class CategoriesSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('categories')->insert([
            ['name'=> '产品', 'pid' => 0, 'model_id' => 1, 'order' => 1, 'keywords' => '产品', 'description'=>'产品'],
            ['name'=> '新闻', 'pid' => 0, 'model_id' => 2, 'order' => 1, 'keywords' => '新闻', 'description'=>'新闻'],
        ]);
    }
}
